{
 "layer": "top", // Waybar at top layer
 // "position": "bottom", // Waybar position (top|bottom|left|right)
 "height": 28, // Waybar height (to be removed for auto height)
 // "width": 1280, // Waybar width
 // "spacing": 10, // Gaps between modules (4px)
 // Choose the order of the modules
 "modules-left": ["sway/workspaces"],
 "modules-center": ["clock"],
 "modules-right": ["sway/language", "custom/alsa"],
    "sway/workspaces": {
        "disable-scroll": false,
        "active-only": false,
        "format": "{icon}",
        "format-icons": {
            "1": "",
            "2": "",
            "3": "",
            "4": "",
            "5": "",
        },
        "persistent_workspaces": {
            "1": [],
            "2": [],
            "3": [],
            "4": [],
            "5": [],
        }
    },
    "sway/language": {
	"format": "  {}"
	},
    "custom/alsa": {
	"exec": "amixer get Master | sed -nre 's/.*\\[off\\].*/      muted/p; s/.*\\[(.*%)\\].*/    \\1/p'",
        "on-click": "amixer set Master toggle; pkill -x -RTMIN+11 waybar",
        "on-scroll-up": "amixer set Master 1+; pkill -x -RTMIN+11 waybar",
        "on-scroll-down": "amixer set Master 1-; pkill -x -RTMIN+11 waybar",
        "signal": 11,
        "interval": 10,
        "tooltip": false
    },
    "clock": {
        "timezone": "Asia/Irkutsk",
	"format": " {:%H:%M}",
        "tooltip": false,
	"onclick": "wmCalClock"
    },
}
